@ECHO OFF
CALL SETENV.BAT

IF EXIST classes GOTO DOC
MD classes

:DOC
IF EXIST classes GOTO BUILD
MD doc

:BUILD

DEL /F/S/Q classes
DEL /F/S/Q doc

CD src
JAVAC -d ..\classes edu\nus\iss\t5\jass\mainapp.java

javadoc -d ..\doc -sourcepath .\ -subpackages edu
CD ..
